﻿package com.teaphy.coroutinecrawler

import kotlinx.coroutines.CoroutineStart
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import kotlin.coroutines.Continuation

fun main() = runBlocking {
    println("start")

    launch {
        println("coroutine1 start -->")
        delay(2000)
        println("coroutine1 --> end ")
    }

    delay(3000)

    println("end")
}